<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>二维码已过期</title>

<script type="text/javascript">
// 		pushHistory();

// 		window.addEventListener("popstate", document.addEventListener('WeixinJSBridgeReady', function(){ WeixinJSBridge.call('closeWindow'); }, false), false);

// 		function pushHistory() {
// 			var state = {
// 				title: "title",
// 				url: "#"
// 			};
// 			window.history.pushState(state, "title", "#");
// 		}
			pushHistory();
			window.addEventListener("popstate", function(e) {
				WeixinJSBridge.call('closeWindow');
			}, false);

			function pushHistory() {
				var state = {
					title: "title",
					url: "#"
				};
				window.history.pushState(state, "title", "#");
			}
		</script>

</head>
<style>
h1 {
	display: block;
	margin: auto;
	width: 32%;
	margin-top: 50%;
	font-size: 50px;
}
</style>

<body>

	<h1>二维码已过期</h1>

</body>

</html>